package com.halflife.comeElectricity.basic.address;

public class AddressGroup {
    private Integer id;

    private Boolean status;

    private Integer merchantId;

    //地址类型 0-出发地 1-目的地/途经地
    private Integer type;

    AddressGroup(){}

    AddressGroup(Integer type,Integer merchantId){

        this.setMerchantId(merchantId);
        this.setType(type);
        this.setStatus(true);
    }
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Boolean getStatus() {
        return status;
    }

    public void setStatus(Boolean status) {
        this.status = status;
    }

    public Integer getMerchantId() {
        return merchantId;
    }

    public void setMerchantId(Integer merchantId) {
        this.merchantId = merchantId;
    }

    public Integer getType() {
        return type;
    }

    public void setType(Integer type) {
        this.type = type;
    }
}